package com.supplychainapi.dao.prod;

import com.supplychainapi.model.Tbauthority;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface TbauthorityMapper extends Mapper<Tbauthority> {
    boolean add(List<Tbauthority> list);

    List<Tbauthority> findListByRoleId(@Param("fsShopGUID") String fsShopGUID, @Param("fsRoleId") String fsRoleId);

    void batchUpdate(List<Tbauthority> list);

    void batchInsert(List<Tbauthority> list);

    void deleteByRoleId(@Param("fsShopGUID") String fsShopGUID, @Param("fsRoleId") String fsRoleId);
}